<div class="modal-header">
	<a class="close" data-dismiss="modal">&times;</a>
	<h5>Name:<font color="#227bdd"> <?= $product_details->name;?></font></h5>
	<h5>Category: <font color="#227bdd"><?= $product_details->category_name;?></font></h5>
	<h5>Company:<font color="#227bdd"> <?= $product_details->company_name;?></font></h5>
</div>
<div class="modal-body">

<table class="table table-striped table-bordered" width="100%" id="example">
	<thead>
    <tr>
		<th>Branch Name</th>
        <th>Stock In Hand</th>
	</tr>
    </thead>
	<?php foreach ($branch_products as $product):?>
		<tr>
			<td><?php echo $product->branch_name; ?></td>
			<td><?php  echo $product->opening_stock; ?></td>
            
		</tr>
	<?php endforeach;?>
</table>


</div>
<div class="modal-footer">
	<a class="btn btn-primary" data-dismiss="modal">Close</a>
</div>